Optimal. Leaf size=45 \[ \frac {b p \log (x)}{a}-\frac {b p \log \left (a+b x^3\right )}{3 a}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{3 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {2504, 2442, 36,
29, 31} \begin {gather*} -\frac {\log \left (c \left (a+b x^3\right )^p\right )}{3 x^3}-\frac {b p \log \left (a+b x^3\right )}{3 a}+\frac {b p \log (x)}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 2442
Rule 2504
Rubi steps
\begin {align*} \int \frac {\log \left (c \left (a+b x^3\right )^p\right )}{x^4} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {\log \left (c (a+b x)^p\right )}{x^2} \, dx,x,x^3\right )\\ &=-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{3 x^3}+\frac {1}{3} (b p) \text {Subst}\left (\int \frac {1}{x (a+b x)} \, dx,x,x^3\right )\\ &=-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{3 x^3}+\frac {(b p) \text {Subst}\left (\int \frac {1}{x} \, dx,x,x^3\right )}{3 a}-\frac {\left (b^2 p\right ) \text {Subst}\left (\int \frac {1}{a+b x} \, dx,x,x^3\right )}{3 a}\\ &=\frac {b p \log (x)}{a}-\frac {b p \log \left (a+b x^3\right )}{3 a}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{3 x^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 45, normalized size = 1.00 \begin {gather*} \frac {b p \log (x)}{a}-\frac {b p \log \left (a+b x^3\right )}{3 a}-\frac {\log \left (c \left (a+b x^3\right )^p\right )}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.22, size = 173, normalized size = 3.84
method | result | size |
risch | \(-\frac {\ln \left (\left (x^{3} b +a \right )^{p}\right )}{3 x^{3}}-\frac {-6 b p \ln \left (x \right ) x^{3}+i \pi a \,\mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2}-i \pi a \,\mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \right )-i \pi a \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{3}+i \pi a \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2} \mathrm {csgn}\left (i c \right )+2 b p \ln \left (x^{3} b +a \right ) x^{3}+2 \ln \left (c \right ) a}{6 x^{3} a}\) | \(173\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 44, normalized size = 0.98 \begin {gather*} -\frac {1}{3} \, b p {\left (\frac {\log \left (b x^{3} + a\right )}{a} - \frac {\log \left (x^{3}\right )}{a}\right )} - \frac {\log \left ({\left (b x^{3} + a\right )}^{p} c\right )}{3 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 43, normalized size = 0.96 \begin {gather*} \frac {3 \, b p x^{3} \log \left (x\right ) - {\left (b p x^{3} + a p\right )} \log \left (b x^{3} + a\right ) - a \log \left (c\right )}{3 \, a x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.36, size = 65, normalized size = 1.44 \begin {gather*} \begin {cases} - \frac {\log {\left (c \left (a + b x^{3}\right )^{p} \right )}}{3 x^{3}} + \frac {b p \log {\left (x \right )}}{a} - \frac {b \log {\left (c \left (a + b x^{3}\right )^{p} \right )}}{3 a} & \text {for}\: a \neq 0 \\- \frac {p}{3 x^{3}} - \frac {\log {\left (c \left (b x^{3}\right )^{p} \right )}}{3 x^{3}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.70, size = 58, normalized size = 1.29 \begin {gather*} -\frac {\frac {b^{2} p \log \left (b x^{3} + a\right )}{a} - \frac {b^{2} p \log \left (b x^{3}\right )}{a} + \frac {b p \log \left (b x^{3} + a\right )}{x^{3}} + \frac {b \log \left (c\right )}{x^{3}}}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.26, size = 41, normalized size = 0.91 \begin {gather*} \frac {b\,p\,\ln \left (x\right )}{a}-\frac {b\,p\,\ln \left (b\,x^3+a\right )}{3\,a}-\frac {\ln \left (c\,{\left (b\,x^3+a\right )}^p\right )}{3\,x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________